package com.qf;

import com.qf.service.AccountService;
import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @ClassName testMoney
 * @Author xiao宋
 * @Date 20:11  2022/9/28
 * @Version 1.0
 * @Description TODO
 */
public class testMoney {
    @Test
    public void test1(){

        ApplicationContext ac = new ClassPathXmlApplicationContext("applicationContext.xml");
        AccountService bean = ac.getBean(AccountService.class);
        bean.transfer("a", "b", 10);
    }
}
